package com.jianbing.lakk.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 用户进度对象 lakk_userprogress
 * 
 * @author windbless
 * @date 2024-06-26
 */
public class LakkUserprogress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 用户号 */
    @Excel(name = "用户号")
    private Long userid;

    /** 题号 */
    @Excel(name = "题号")
    private Long questionnumber;

    /** 天数 */
    @Excel(name = "天数")
    private Long daynumber;

    /** 关卡 */
    @Excel(name = "关卡")
    private String stage;

    /** 题面快照 */
    @Excel(name = "题面快照")
    private String questiontextsnapshot;

    /** 用户作答 */
    @Excel(name = "用户作答")
    private String useranswer;

    /** 获得奖励 */
    @Excel(name = "获得奖励")
    private String rewardobtained;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationtime;

    /** 故事题用户录音文件 */
    @Excel(name = "故事题用户录音文件")
    private String userrecordingfile;

    /** 故事题用户语音转文字 */
    @Excel(name = "故事题用户语音转文字")
    private String uservoicetotext;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(Long userid) 
    {
        this.userid = userid;
    }

    public Long getUserid() 
    {
        return userid;
    }
    public void setQuestionnumber(Long questionnumber) 
    {
        this.questionnumber = questionnumber;
    }

    public Long getQuestionnumber() 
    {
        return questionnumber;
    }
    public void setDaynumber(Long daynumber) 
    {
        this.daynumber = daynumber;
    }

    public Long getDaynumber() 
    {
        return daynumber;
    }
    public void setStage(String stage) 
    {
        this.stage = stage;
    }

    public String getStage() 
    {
        return stage;
    }
    public void setQuestiontextsnapshot(String questiontextsnapshot) 
    {
        this.questiontextsnapshot = questiontextsnapshot;
    }

    public String getQuestiontextsnapshot() 
    {
        return questiontextsnapshot;
    }
    public void setUseranswer(String useranswer) 
    {
        this.useranswer = useranswer;
    }

    public String getUseranswer() 
    {
        return useranswer;
    }
    public void setRewardobtained(String rewardobtained) 
    {
        this.rewardobtained = rewardobtained;
    }

    public String getRewardobtained() 
    {
        return rewardobtained;
    }
    public void setCreationtime(Date creationtime) 
    {
        this.creationtime = creationtime;
    }

    public Date getCreationtime() 
    {
        return creationtime;
    }
    public void setUserrecordingfile(String userrecordingfile) 
    {
        this.userrecordingfile = userrecordingfile;
    }

    public String getUserrecordingfile() 
    {
        return userrecordingfile;
    }
    public void setUservoicetotext(String uservoicetotext) 
    {
        this.uservoicetotext = uservoicetotext;
    }

    public String getUservoicetotext() 
    {
        return uservoicetotext;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("questionnumber", getQuestionnumber())
            .append("daynumber", getDaynumber())
            .append("stage", getStage())
            .append("questiontextsnapshot", getQuestiontextsnapshot())
            .append("useranswer", getUseranswer())
            .append("rewardobtained", getRewardobtained())
            .append("creationtime", getCreationtime())
            .append("userrecordingfile", getUserrecordingfile())
            .append("uservoicetotext", getUservoicetotext())
            .toString();
    }
}
